package com.zjcode.cdcer.controller;

import com.chinatechstar.component.commons.controller.BaseController;
import com.chinatechstar.component.commons.supports.PageData;
import com.zjcode.cdcer.model.basic.JsonObj;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName:DataScreenController
 * @功能：数据大屏
 * @author：wlei
 * @日期：2022/9/26-14:49
 **/
@RestController
@Slf4j
@RequestMapping("/v1/datascreen/")
public class DataScreenController extends BaseController {

    /**
     * 获取数据大屏的统计数据
     * @return
     */
    @PostMapping("getStatisticsData")
    public JsonObj getStatisticsData(@RequestBody PageData pageData) {
        String code = (String) pageData.get("code");
        return null;
    }
}
